package com.scilvet.reportcomposer.node;

import com.scilvet.reportcomposer.account.Amount;

public class Literal implements Node {
	
	private Amount literalValue;
	
	public Literal(String literalValue) {
		this.literalValue = new Amount(literalValue);
	}

	@Override
	public Amount getValue() {
		return literalValue;
	}
	
	@Override
	public String toString() {
		return literalValue.toString();
	}

	public String printValues() {
		return literalValue.toString();
	}
}
